/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tcloudclient.watchService;

/**
 *
 * @author Tomas
 */
public class WatchServiceChangeData {
        
    private WatchServiceChangeType operationType;
    private String folder;
    
    //only for type rename
    private String newFolderName;

    public WatchServiceChangeData(WatchServiceChangeType operationType, String folder) {
        this.operationType = operationType;
        this.folder = folder;
    }

    public WatchServiceChangeData(WatchServiceChangeType operationType, String folder, String newFolderName) {
        this.operationType = operationType;
        this.folder = folder;
        this.newFolderName = newFolderName;
    }

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    //only for rename type, other null
    public String getNewFolderName() {
        return newFolderName;
    }

    public void setNewFolderName(String newFolderName) {
        this.newFolderName = newFolderName;
    }

    public WatchServiceChangeType getOperationType() {
        return operationType;
    }

    public void setOperationType(WatchServiceChangeType operationType) {
        this.operationType = operationType;
    }
    
}
